/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.Ilusio.messaging;

import edu.upf.Ilusio.Interfaces.GenericMessage;

/**
 *
 * @author xday666
 */
public class ILMessage implements GenericMessage {
    String to, ID, from;
    public static final int SEARCHPICTURE = 1;
    public static final int CHAT = 2;

    public int type;

    public void setTo(String to){
        this.to=to;
    }

    public void setID(String ID){
        this.ID=ID;
    }

    public void setType(int type){
        this.type=type;
    }

    public void setFrom(String from){
        this.from=from;
    }

    public String getTo(){
      return to;
    }

    public String getID(){
        return ID;
    }

    public int getType(){
        return type;
    }

    public String getFrom(){
        return from;
    }

}
